package com.luych.toolbox.common.feign.param.gateway.center;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("WebSocket即时通讯")
public class WebSocketChat {

    @ApiModelProperty("来源")
    private String userId;
    @ApiModelProperty("消息")
    private String message;

    public WebSocketChat(String userId, String message) {
        this.userId = userId;
        this.message = message;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getUserId() {
        return userId;
    }

    public String getMessage() {
        return message;
    }
}
